// 升级OVE插件版本至18.1.16前的最后稳定版本
import React from "react";
import ReactDOM from "react-dom";
import { Provider } from "react-redux";
import store from "./store/index";
import "./index.scss";
import Coat from "./views/app/Coat";
import * as serviceWorker from "./serviceWorker";

// window全局对象
const windowAreactMethods = window.AreactMethods = {};

ReactDOM.render(
  <Provider store={store}>
    <Coat windowAreactMethods={windowAreactMethods} />
  </Provider>,
  document.getElementById("root")
);


// window.AreactMethods.setShowParams({
//     showApp: true, // 展示app
//     isProd: false  // false本地开发，true外部传入数据
// })

serviceWorker.unregister();
